<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div class="container-fluid">
<div class="row-fluid">
<div class="span2"></div>
<div class="span8">
<div class="row-fluid">
<div class="8">
<!-- User Account Update form -->
    <s:form theme = "simple" cssClass="form-horizontal" action="updateuseraccount" method="post" validate="true">
  		<div class="control-group">
  		<div class="controls">
  		<h4>Account Settings</h4>
  		</div></div>
  		<div class="control-group">
  		<div class="controls">
  		<s:if test="hasFieldErrors()">
   			   
  		 		<s:fielderror><s:param>phone</s:param></s:fielderror>
  		  
  		 </s:if>
  		 
  		 </div>
  		 </div>
  		<div class="control-group">
  		<label class="control-label" for="inputEmail">Email</label>
  		<div class="controls">
  		<s:textfield id="inputEmail" name="email" readonly="true" cssClass="input-xlarge" value="%{email}"></s:textfield>
  		</div>
  		</div>
  		<div class="control-group">
  		<label class="control-label" for="inputPhone">Phone</label>
  		<div class="controls">
  		<s:textfield id="inputPhone" maxlength="15" name="phone" cssClass="input-medium" value="%{phone}"></s:textfield>
  		</div>
  		</div>
  		<div class="control-group">
  		<div class="controls">
  		<s:submit name="update" theme = "simple" cssClass="btn btn-success" value="Update Account"></s:submit>
  		</div>
  		</div>
  		<!-- remember me will be implemented later -->
  		<!-- 
  		<div class="control-group">
  		<div class="controls">
  		<label class="checkbox">
    	<s:checkbox name="rememberme" fieldValue="true" value="true" label="">Remember Me</s:checkbox>
  		</label>
  		</div>
  		</div>
  		 -->
	</s:form>
<!-- User Account Update form ends here-->
<hr />

<!-- User password Update form -->
    <s:form theme = "simple" cssClass="form-horizontal" action="updateuserpassword" method="post" validate="true">
  		<div class="control-group">
  		<div class="controls">
  		<h4>Update Password</h4>
  		</div></div>
  		<div class="control-group">
  		<div class="controls">
  		<s:if test="hasFieldErrors()">
   			   
  		 		<s:fielderror><s:param>password</s:param></s:fielderror>
  		 
  		 </s:if>
  		 </div>
  		 </div>
  		<div class="control-group">
  		<label class="control-label" for="inputPassword">Password</label>
  		<div class="controls">
  		<s:password id="inputPassword" name="password" cssClass="input-medium" placeholder="Enter new password"></s:password>
  		</div>
  		</div>
  		<div class="control-group">
  		<div class="controls">
  		<s:submit name="update" theme = "simple" cssClass="btn btn-success" value="Update Password"></s:submit>
  		</div>
  		</div>
  		<!-- remember me will be implemented later -->
  		<!-- 
  		<div class="control-group">
  		<div class="controls">
  		<label class="checkbox">
    	<s:checkbox name="rememberme" fieldValue="true" value="true" label="">Remember Me</s:checkbox>
  		</label>
  		</div>
  		</div>
  		 -->
	</s:form>
<!-- User Password Update form ends here-->
    </div>
    <div class="span4">
    <!-- some additional info -->
    </div>
    </div>
</div>
<div class="span2"></div>
</div>
</div>
